import { createRouter, createWebHistory } from 'vue-router'


const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [{
	  path:"/",
	  name:"home",
	  component:()=>import("@/views/Home.vue"),
	  meta:{
		  title:"首页"
	  }
  },{
	  path:"/instore",
	  name:"instore",
	  component:()=>import("@/views/store/InStore.vue"),
	  meta:{
		  title:"采购入库"
	  }
  },{
	  path:"/stockpending",
	  name:"stockpending",
	  component:()=>import("@/views/store/StockPending.vue"),
	  meta:{
		  title:"待入库"
	  }
  },{
	  path:"/in",
	  name:"in",
	  component:()=>import("@/views/store/In.vue"),
	  meta:{
		  title:"入库内容"
	  }
  },{
	  path:"/outstore",
	  name:"outstore",
	  component:()=>import("@/views/store/OutStore.vue"),
	  meta:{
		  title:"采购退货"
	  }
  },{
	  path:"/outitem",
	  name:"outitem",
	  component:()=>import("@/views/store/Outitem.vue"),
	  meta:{
		  title:"采购退货明细"
	  }
  },{
	  path:"/Zhijie",
	  name:"Zhijie",
	  component:()=>import("@/views/store/Zhijie.vue"),
	  meta:{
		  title:"直接出库"
	  }
  },{
	  path:"/ZJMingxi",
	  name:"ZJMingxi",
	  component:()=>import("@/views/store/ZJMingxi.vue"),
	  meta:{
		  title:"直接出库明细"
	  }
  },{
	  path:"/ZJCaozuo",
	  name:"ZJCaozuo",
	  component:()=>import("@/views/store/ZJCaozuo.vue"),
	  meta:{
		  title:"直接出库操作"
	  }
  },{
	  path:"/check",
	  name:"check",
	  component:()=>import("@/views/check/index.vue"),
	  meta:{
		  title:"盘点任务"
	  }
  },{
	  path:"/tasklist",
	  name:"tasklist",
	  component:()=>import("@/views/check/TaskList.vue"),
	  meta:{
		  title:"盘点任务"
	  }
  },{
	  path:"/inventoryContent",
	  name:"inventoryContent",
	  component:()=>import("@/views/check/InventoryContent.vue"),
	  meta:{
		  title:"盘点内容"
	  }
  }],
})

export default router
